package bulider;

/**
 * @author 761472239
 * @Classname Builder
 * @Description 抽象创建者，包含创建产品各个子部件的抽象方法
 * @Date 2021/8/31 22:11
 */
public abstract class Builder {
    protected Computer computer = new Computer();

    public abstract void buildPartA();
    public abstract void buildPartB();
    public abstract void buildPartC();

    public Computer getProduct(){
        return computer;
    }

}
